//
//  SEGOrderTrackCell.h
//  Uhomebk
//
//  Created by mac on 2017/7/6.
//  Copyright © 2017年 com.segi. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "SEGOrderDetailModel.h"

typedef NS_ENUM(NSUInteger, SEGInputViewType) {
    SEGInputViewType_AddRecord = 0, /*追记*/
    SEGInputViewType_AddUrgent = 1 /*加急*/
};

/**
 SEGOrderTrackCell
 */
@protocol SEGOrderTrackCellDelegate <NSObject>


/**
 添加追记
 commentStr - 评论字符串
 */
-(void)addRecordActionWithComment:(NSString *)commentStr inputType:(SEGInputViewType)inputType;


/**
 展开收起刷新界面
 */
-(void)openUserNameRefreshTableView;

@end



@interface SEGOrderTrackCell : UITableViewCell

/**
 填充数据
 
 @param data
 */
-(void)paddingDataWithMod:(id)data;
@property (weak, nonatomic) IBOutlet UIView *trackBgView;
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
@property (weak, nonatomic) IBOutlet UIView *lineView;
@property (unsafe_unretained, nonatomic) IBOutlet UIView *titleBackView;

@property(nonatomic,strong)SEGOrderDetailModel *detailModel;/**详情数据模型 */
@property(nonatomic, weak) id<SEGOrderTrackCellDelegate> delegate;/**代理 */

@property(nonatomic,weak)UIViewController *parentVC;/**父视图控制器 */

@end
